﻿@{
    Layout = null;
}

<!DOCTYPE html>
@model EnterpriseFund.Model.AllowanceApplicationForm
<html>
<head>
    <title>AllowanceApplicationFormFrontEdit</title>
     @if (false)
       {
        <script src="../../Scripts/jquery-vsdoc.js" type="text/javascript"></script>
        <script src="../../Scripts/ASPxScriptIntelliSense.js" type="text/javascript"></script>
       }
    <link href="@Url.Content("~/Content/Site.css", true)" rel="stylesheet" type="text/css" />

    <link href="@Url.Content("~/Content/jquery-ui.css", true)" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/jquery.min.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/jquery-ui.min.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/FloatDiv.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/regex.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Common/GetRootPath.ashx", true)" type="text/javascript"></script>

    @Html.DevExpress().GetStyleSheets(

        new StyleSheet { ExtensionType = ExtensionType.ListBox, Theme = DevExpressHelper.Theme }
)
    @Html.DevExpress().GetScripts(
        new Script { ExtensionType = ExtensionType.ListBox }
)
    <script>

        $(document).ready(function () {
            $("#toolMenu").smartFloat();
            var hdjsAlert = $("#hdjsAlert").val();
            if (hdjsAlert != "") {
                alert(hdjsAlert);
            }
            if (hdjsAlert == "操作成功") {
                window.location.href = rootPath + '/AllowanceApplicationFormAudit/';
            }
        });

        function MenuTop_emClick(source, e) {
            switch (e.item.name) {
                case "btnSubmit":
                    {
                        Save("open");
                        break;
                    }
                case "btnReturn":
                    {
                        var rs = window.showModalDialog(rootPath + "/ReturnDlg?tableName=t_AllowanceApplicationForm&id=" + $("#hidFApplicationFormID").val() + "&feq=20");

                        if (rs == "S") {
                            window.location.href = rootPath + '/AllowanceApplicationFormAudit/';
                        }
                        break;
                    }
                case "btnback":
                    {
                        window.location.href = rootPath + '/AllowanceApplicationFormAudit/';
                        break;
                    }
            }

        }

        function Save(FStatus) {
            $("#hidFStatus").val(FStatus);
            form1.submit();
        }

    </script>
    
   <style>
    .tableStyle
{
	width: 100%;
	border: solid 1px black;
		padding: 6px 5px;
	border-collapse: collapse;
}
.tableStyle td
{
}

.tableStyle .tdClass
{
	padding: 0px;
  padding: 6px 5px;
	border: solid 1px black;
}
.tableStyle th
{
	text-align: right;
	padding: 6px 5px;
	border: solid 1px black;
}
.tableStyle .button
{
	margin: 2px 0px 0px 2px;
	float: left;
}

text{border:1px solid #aecaf0;}

    </style>
</head>
<body> 
   @using (Html.BeginForm("Save", "AllowanceApplicationFormAudit", FormMethod.Post, new { id = "form1" }))
          {
              
               @Html.DevExpress().Menu(settings =>
          {
              settings.Name = "toolBarMenu";
              settings.ItemAutoWidth = false;
              settings.Width = System.Web.UI.WebControls.Unit.Percentage(100);
              settings.Styles.Style.Border.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(0);
              settings.Styles.Style.BorderTop.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(1);
              settings.Items.Add(item =>
              {
                  item.Name = "btnSubmit";
                  item.Text = "发送";
                  item.Image.Url = Url.Content("~/Content/ControlImages/edit_add.png");
              });
              settings.Items.Add(item =>
              {
                  item.Name = "btnReturn";
                  item.Text = "退回";
                  item.Image.Url = Url.Content("~/Content/ControlImages/undo_blue.png");
              });
              settings.Items.Add(item =>
              {
                  item.Name = "btnback";
                  item.Text = "返回";
                  item.Image.Url = Url.Content("~/Content/ControlImages/back.png");
              });
              settings.ClientSideEvents.ItemClick = "function(source,e){MenuTop_emClick(source,e)}";
              settings.ItemLinkMode = ItemLinkMode.ContentBounds;
          }).GetHtml()
    <div>
 <p align=center style='text-align:center'><b><span
style='font-size:16.0pt;font-family:仿宋_GB2312'>企业专项补助资金拨付申请表</span></b></p>
<table class="tableStyle">
<tr>
<td class="tdClass" align="center" width="14%">纳税人名称<br />（加盖公章）</td>
<td colspan="3" class="tdClass" width="85%">@Model.NSRMC
</td>
</tr>
<tr>
<td class="tdClass" align="center">收款账号</td>
<td   class="tdClass"> @Model.KHYH</td>
<td class="tdClass" align="center" width="14%">账号
</td>
<td  class="tdClass">
                   @Model.YHZK
                           </td>
</tr>
<tr>
<td class="tdClass" align="center" width="14%">申请依据
</td>
<td  class="tdClass" width="36%">@Model.FFileNo</td>
<td class="tdClass" align="center" width="14%">资金性质
</td>
<td  class="tdClass" width="36%">@Model.FFinancePropName
</td>
</tr>
<tr>
<td class="tdClass" align="center">备<span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>注

</td>
<td colspan="3" class="tdClass">@Model.FNote</td>
</tr>
<tr>
<td colspan="2" class="tdClass" align="center">企业申请资金
</td>
<td colspan="2" class="tdClass" align="center">财政核定资金
</td>
</tr>
<tr>
<td colspan="2" class="tdClass" align="left" width="25%">

<table  width="99%">
<tr>
<td align="right"  style=" width:40px">金额:</td>
<td align="left">
@Model.FApplyAmount</td>
</tr>
</table>
</td>

<td colspan="2"  class="tdClass" align="left" width="25%">

<table  width="99%">
<tr>
<td align="right" style=" width:40px">金额:</td>
<td align="left">@Model.FAuditAmount
             </td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" class="tdClass" align="left" width="25%">
<table  width="99%">
<tr>
<td align="right"  style=" width:40px">大写:</td>
<td align="left">
@Model.FApplyAmountDX</td>
</tr>
</table>
</td>
<td colspan="2" class="tdClass" align="left" width="25%">
<table  width="99%">
<tr>
<td align="right"  style=" width:40px">大写:</td>
<td align="left">
@Model.FAuditAmountDX</td>
</tr>
</table></td>
</tr>
<tr>
@*<td colspan="3"  class="tdClass" align="left">
<table width="99%">
<tr>
<td  width="25%">
<span style='font-size:10.0pt;font-family:仿宋_GB2312'>企业法人:</span>
</td>
<td  width="75%">
@Model.FDDBRMC
</td>
</tr>
<tr>
<td  width="25%">
<span style='font-size:10.0pt;font-family:仿宋_GB2312'>经办人:</span>
</td>
<td  width="75%">
@Model.FApplyName
</td>
</tr>
<tr>
<td  width="25%">
<span style='font-size:10.0pt;font-family:仿宋_GB2312'>日期:</span>
</td>
<td  width="75%">
@Model.FInsDate.ToString("yyyy年MM月dd日")
</td>
</tr>
</table></td>*@

<td colspan="2"  class="tdClass" align="left"><p><span style='font-size:10.0pt;font-family:仿宋_GB2312'>企业法人：@Model.FDDBRMC<span
  lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;</span></span></p>
        <p><span style='font-size:10.0pt;font-family:仿宋_GB2312'>经办人：@Model.FApplyName</span></p>
        <p><span style='font-size:10.0pt;font-family:仿宋_GB2312'>日期：<span
  lang=EN-US>&nbsp; &nbsp;&nbsp;&nbsp;</span>@Model.FInsDate.ToString("yyyy年MM月dd日")</p></td>

<td colspan="2"  class="tdClass" align="left"><p><span style='font-size:10.0pt;font-family:仿宋_GB2312'>处室负责人：@EnterpriseFund.Common.OperateSession.get(EnterpriseFund.Common.GlobalConstant.PARAM_USERNAME)<span
  lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;</span></span></p>
        <p><span style='font-size:10.0pt;font-family:仿宋_GB2312'>经办人：@Model.FInsEmpName
</span></p>
        <p><span style='font-size:10.0pt;font-family:仿宋_GB2312'>日期：<span
  lang=EN-US>&nbsp; &nbsp;&nbsp;&nbsp;</span>@Model.FInsDate.ToString("yyyy年MM月dd日")</p></td>
</tr>
</table>

    </div>
     @Html.Hidden("hdjsAlert", (ViewData["jsAlert"]))
     @Html.Hidden("hidFStatus", "")
     @Html.Hidden("hidFApplicationFormID", Model.FApplicationFormID)
          }
</body>
</html>
